/*
 * RangeException.h
 *
 *  Created on: Apr 28, 2009
 *      Author: wrice
 */

#ifndef RANGEEXCEPTION_H_
#define RANGEEXCEPTION_H_
#include "DOMRange.h"
namespace DOMRange {

class RangeException {
public:
	virtual unsigned short getCode() = 0;
	virtual void setCode( unsigned short code ) = 0;

	enum {
		BAD_BOUNDARYPOINTS_ERR = 1,
		INVALID_NODE_TYPE_ERR = 2
	};
};

}

#endif /* RANGEEXCEPTION_H_ */
